﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WadViewer.DomainModel
{
	/// <summary>
	/// Entity with properties for the event logging
	/// </summary>
	public class WadEventLogEntity : WadEntity
	{
		public string ProviderName { get; set; }
		public string Channel { get; set; }
		public string Description { get; set; }
		public string RawXml { get; set; }

		public override string ListDisplay
		{
			get { return Description; }
		}

		public override string ToString()
		{
			return string.Format("{0}\t{1}\t{2}\t{3}", base.ToString(), ProviderName, Channel, Description);
		}
	}
}
